翻訳と辞書
Words near each other
・ Packing problems
・ Packing the Monkeys, Again!
・ Packing Things Up on the Scene
・ Packington
・ Packington (disambiguation)
・ Packington Hall
・ Packington Hall (Staffordshire)
・ Packington Old Hall
・ Packbow
・ Packebusch
・ Packed bed
・ Packed Encoding Rules
・ Packed lunch
・ Packed pixel
・ Packed red blood cells
Packed storage matrix
・ Packed to the Rafters
・ Packed to the Rafters (season 1)
・ Packed to the Rafters (season 2)
・ Packed to the Rafters (season 3)
・ Packed to the Rafters (season 4)
・ Packed to the Rafters (season 5)
・ Packed to the Rafters (season 6)
・ Packed!
・ Packer
・ Packer (Middlesex cricketer)
・ Packer (software)
・ Packer Collegiate Institute
・ Packer concentration
・ Packer House


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Packed storage matrix : ウィキペディア英語版
Packed storage matrix

A packed storage matrix, also known as packed matrix, is a term used in programming for representing an m\times n matrix. It is a more compact way than an m-by-n rectangular array by exploiting a special structure of the matrix.
Typical examples of matrices that can take advantage of packed storage include:
* symmetric or hermitian matrix
* Triangular matrix
* Banded matrix.
==Code examples (Fortran)==
Both of the following storage schemes are used extensively in BLAS and LAPACK.
An example of packed storage for hermitian matrix:

complex:: A(n,n) ! a hermitian matrix
complex:: AP(n
*(n+1)/2) ! packed storage for A
! the lower triangle of A is stored column-by-column in AP.
! unpacking the matrix AP to A
do j=1,n
k = j
*(j-1)/2
A(1:j,j) = AP(1+k:j+k)
A(j,1:j-1) = conjg(AP(1+k:j-1+k))
end do

An example of packed storage for banded matrix:

real:: A(m,n) ! a banded matrix with kl subdiagonals and ku superdiagonals
real:: AP(-kl:ku,n) ! packed storage for A
! the band of A is stored column-by-column in AP. Some elements of AP are unused.
! unpacking the matrix AP to A
do j=1,n
forall(i=max(1,j-kl):min(m,j+ku)) A(i,j) = AP(i-j,j)
end do
print
*,AP(0,:) ! the diagonal


抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Packed storage matrix」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.